package com.itzzj.common.information.server;

/**
 * CPU 相关信息
 */
public class Cpu {

    // 核心数
    private int cpuNum;

    // CPU 总的使用率
    private double total;

    // CPU 系统使用率
    private double sys;

    // CPU 用户使用率
    private double used;

    // CPU 当前等待率
    private double wait;

    // CPU 当前空闲率
    private double free;

    public int getCpuNum() {
        return cpuNum;
    }

    public void setCpuNum(int cpuNum) {
        this.cpuNum = cpuNum;
    }

    public double getTotal() {

        return total;
    }

    public void setTotal(double total) {
        this.total = total;
    }

    public double getSys() {
        return sys;
    }

    public void setSys(double sys) {
        this.sys = sys;
    }

    public double getUsed() {
        return used;
    }

    public void setUsed(double used) {
        this.used = used;
    }

    public double getWait() {
        return wait;
    }

    public void setWait(double wait) {
        this.wait = wait;
    }

    public double getFree() {
        return free;
    }

    public void setFree(double free) {
        this.free = free;
    }
}
